/* 
 * File:   controller.cpp
 * Author: dana
 * 
 * Created on March 6, 2010, 7:56 PM
 */

#include "controller.h"
#include <stdio.h>
#include "keyboardInterpreter.h"

// Controller needs to spawn two threads.  One for the clock,
// another for the looping/polling keyboard forever.

controller::controller() {
    printf("zero\n");
    keyboardInterpreter yesh;
    printf("one\n");
    yesh.setController(this);
    printf("Two\n");
    //yesh.pollKeysForever();
    printf("three\n");
}

controller::controller(const controller& orig) {
}

controller::~controller() {
}

void controller::up() {
    printf("UP \n");
}

void controller::down() {

}

void controller::left() {

}

void controller::right() {

}

void controller::attack() {

}

void controller::jump() {

}

void controller::eject() {

}

void controller::pause() {

}

void controller::init() {

}